{yun:}include file="$comstyle/header.htm"{/yun}

<div class="w1000">
    <div class="admin_mainbody"> {yun:}include file="$comstyle/left.htm"{/yun}
        <div class=right_box>
            <div class=admincont_box>
                <div class="com_tit"><span class="com_tit_span">员工列表</span></div>
                <div class="com_body">
                    <div class=admin_textbox_04>
                        <iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
                        <div class="hr_tip_box">
                            <div class="hr_subMetx">
                                <span class="hr_resumesearch_span fltL">员工搜索：</span>
                                <form action="index.php" method="get">
                                    <div class="joblist_search_box" style="border-radius:3px;">
                                        <input name="c" type="hidden" value="employelist">
                                     <!--    <input name="resumetype" type="hidden" value="{yun:}$smarty.get.resumetype{/yun}">
                                        <input name="jobid" type="hidden" value="{yun:}$smarty.get.jobid{/yun}"> -->
                                        <!-- <input name="state" type="hidden" value="{yun:}$smarty.get.state{/yun}"> -->
                                        <input name="keyword" type="text" class="joblist_search_box_text" placeholder="请输入姓名查找" value="{yun:}$smarty.get.keyword{/yun}">
                                        <input type="submit" class="joblist_search_bth" value=" ">
                                    </div>
                                </form>

                            </div>
                             <!-- jam添加导入员工s -->
                                <form action="index.php?c=employelist&act=import" name="myform" method="post" enctype="multipart/form-data">
                                    <input type="file" name="files" id="file" />
                                    <input type="submit" value="导入"/>
                                </form>

                                <!-- jam添加导入员工e -->
                        </div>

                        <div class="clear"></div>


                        <div class="com_body">

                            <div class="com_m_search" style="padding-bottom:0px;">
                                <input class="com_m_tj" onclick="employe_url();" type="button" value="+ 添加员工" name="input" style="margin-left:0px;">
                            </div>
                            <div class="clear"></div>
                            <form action="index.php" name="myform" method="get" id='myform' target="supportiframe">
                                <input type="hidden" name="c" value="employeadd" />
                                <input type="hidden" name="act" value="del" />
                                <table class="com_table mt20">
                                    <tr>
                                        <th>&nbsp;</th>
                                        <th>员工名字</th>
                                        <th>员工手机</th>
                                        <th>员工性别</th>
                                        <th>在职状态 </th>
                                        <th width="120">操作</th>
                                    </tr>

                                   {yun:}foreach from=$rows item=list{/yun}
                                    <tr>
                                        <td><input type="checkbox" name="del[]" value="{yun:}$list.id{/yun}" class="com_Release_job_check"></td>

                                        <td align="center">
                                            <a href="{yun:}url m=part c=show id='`$list.id`'{/yun}" class="com_Release_name" target="_blank">{yun:}$list.employe_name{/yun}</a>
                                        </td>
                                        <td align="center">{yun:}$list.employe_mobile{/yun}</td>
                                        <td align="center">{yun:}$list.sex{/yun}</td>
                                        <td align="center">{yun:}$list.position{/yun}</td>
                                    
                                        <td align="center">
                                            <a href="index.php?c=employeadd&id={yun:}$list.id{/yun}" class=" com_bth cblue">修改</a>
                                            <a href="javascript:void(0)" onclick="layer_del('确定要删除该员工？','index.php?c=employeadd&act=del&id={yun:}$list.id{/yun}'); " class=" com_bth cblue">删除</a>
                                        </td>
                                    </tr>
                                    {yun:}foreachelse{/yun}
                                    <tr>
                                        <td colspan="9" class="table_end">
                                            <div class="msg_no">
                                                <p>暂无相关员工信息</p><a href="javascript:;" onclick="employe_url();" class="com_msg_no_bth com_submit">添加员工</a>
                                            </div>  
                                        </td>
                                    </tr>
                                    {yun:}/foreach{/yun}
                                    
                                    <tr>
                                        <td colspan="8" class="table_end">
                                            <div class="com_Release_job_bot">
                                                <span class="com_Release_job_qx">
                                                    <input id='checkAll' type="checkbox" onclick='m_checkAll(this.form)'class="com_Release_job_qx_check">全选 
                                                </span>
                                                <input class="c_btn_02 c_btn_02_w110" type="button" value="批量删除" onclick="return really('del[]');">
                                            </div>
                                        </td>
                                    </tr>
                                   
                                    <tr>
                                        <td colspan="8" class="table_end">
                                            <div class="diggg">{yun:}$pagenav{/yun}</div>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                            <div class="clear"></div>
                        </div>
                        <div class="clear"></div>
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
	
	function isBrowseShow(id){
    	$("#"+id).show();
    }
    function isBrowseHide(id){
    	$("#"+id).hide();
    }
    
    $(document).ready(function() {
        $(".browsej").click(function() {
            var browse = $(this).attr('browse');
            var id = $(this).attr('sid');
            $.post("index.php?c=hr&act=hrset", {
                id: id,
                browse: browse
            }, function(data) {
                location.reload();
            });
        });

    });
    
    
    
</script>
<style>
    .admin_resume_dc {
        width: 100%;
        float: left
    }
    
    .admin_resume_dc_p {
        width: 650px;
        float: left;
        padding: 10px 0;
    }
    
    .admin_resume_dc_s {
        display: block;
        width: 110px;
        height: 30px;
        line-height: 30px;
        float: left;
        padding-left: 10px;
        margin: 5px 0px 0px 5px;
        border: 1px solid #eee;
        cursor: pointer
    }
    
    .admin_resume_dc_n {
        width: 110px;
        float: left;
        height: 30px;
        line-height: 30px;
        text-align: right;
    }
    
    .admin_resume_dc_ntext {
        width: 118px;
        border: 1px solid #ddd;
        height: 30px;
        line-height: 30px;
        float: left;
    }
    
    .admin_resume_dc_tip {
        float: left;
        height: 30px;
        line-height: 30px;
    }
    
    .admin_resume_dc_sub {
        width: 650px;
        text-align: center;
        border-top: 1px solid #ddd;
        float: left;
        padding-top: 10px;
    }
    
    .admin_resume_dc_bth1 {
        width: 90px;
        height: 30px;
        background: #f60;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 16px;
    }
    
    .admin_resume_dc_bth2 {
        width: 90px;
        height: 30px;
        background: #eee;
        color: #333;
        border: none;
        cursor: pointer;
        margin-left: 10px;
        font-size: 16px;
    }
</style>
{yun:}include file="$comstyle/yqms.htm"{/yun} {yun:}include file="$comstyle/footer.htm"{/yun}